gram system